package com.ctsi.offlinesupport.app.rest.request;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: zhangjw
 * @Date: 2018/10/9 22:49
 * @Description:
 */
public class SupportQueryRequest implements Serializable {
    private static final long serialVersionUID = 7933128461387027033L;

    private Integer start;

    private Integer pageSize;

    private String costumGroupId;

    private String customNameLike;

    private Integer isStandard;

    private String supportType;

    private String statusId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    public SupportQueryRequest() {
    }

    public Integer getStart() {
        return this.start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getPageSize() {
        return this.pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getCostumGroupId() {
        return this.costumGroupId;
    }

    public void setCostumGroupId(String costumGroupId) {
        this.costumGroupId = costumGroupId;
    }

    public String getCustomNameLike() {
        return this.customNameLike;
    }

    public void setCustomNameLike(String customNameLike) {
        this.customNameLike = "%"+customNameLike+"%";
    }

    public Integer getIsStandard() {
        return this.isStandard;
    }

    public void setIsStandard(Integer isStandard) {
        this.isStandard = isStandard;
    }

    public String getSupportType() {
        return this.supportType;
    }

    public void setSupportType(String supportType) {
        this.supportType = supportType;
    }

    public String getStatusId() {
        return this.statusId;
    }

    public void setStatusId(String statusId) {
        this.statusId = statusId;
    }

    public Date getBeginTime() {
        return this.beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return this.endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
